<?php
namespace App\Http\Controllers\Common;

use App\Http\Controllers\Controller;
use App\Models\Wechat\Wechater;
use Illuminate\Http\Request;

class WechaterController extends Controller
{
    protected $pageSize = 12;

    public function __construct()
    {

    }

    public function lists(Request $request)
    {
        $results = Wechater::orderBy('id', 'desc')->paginate($this->pageSize);

        return view('common.wechater.list')
            ->with('results', $results);
    }
}